﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace qlbansach_thuctapnhom.form
{
    public partial class Formhelp : Form
    {
        public Formhelp()
        {
            InitializeComponent();
        }

        private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
        {
            switch (e.Node.Name)
            {
                case "tacgia":
                    webBrowser1.Navigate(@"C:\Users\phamhai\Documents\Visual Studio 2012\qlbansach_thuctapnhom\Help\Tacgia.mht");
                    break;
                case "nhaxuatban":
                    webBrowser1.Navigate(@"C:\Users\phamhai\Documents\Visual Studio 2012\qlbansach_thuctapnhom\Help\nhaxuatban.mht");
                    break;
                case "loaisach":
                    webBrowser1.Navigate(@"C:\Users\phamhai\Documents\Visual Studio 2012\qlbansach_thuctapnhom\Help\loaisach.mht");
                    break;
                case "sach":
                    webBrowser1.Navigate(@"C:\Users\phamhai\Documents\Visual Studio 2012\qlbansach_thuctapnhom\Help\sach.mht");
                    break;
                case "khachhang":
                    webBrowser1.Navigate(@"C:\Users\phamhai\Documents\Visual Studio 2012\qlbansach_thuctapnhom\Help\sach.mht");
                    break;
                case "hoadon":
                    webBrowser1.Navigate(@"C:\Users\phamhai\Documents\Visual Studio 2012\qlbansach_thuctapnhom\Help\donhang.mht");
                    break;
                default:
                    break;
            }
        }
    }
}
